package com.ruicar.afs.cloud.filecenter.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.filecenter.entity.AfsFileChunkInfo;
import com.ruicar.afs.cloud.filecenter.vo.ChunkInfo;

/**
 * IFileStoreService
 * <p>Description: </p>
 *
 * @author Fzero
 * @version 1.0
 * @date create on 2020-01-02 12:06:01
 * @since 1.0
 */
public interface IFileChunkService extends IService<AfsFileChunkInfo> {
    /**
     * Check chunk info chunk info
     * <p>Description: </p>
     *
     * @param md5         md 5
     * @param chunkNumber chunk number
     * @param totalChunks total chunks
     * @return the chunk info
     */
    ChunkInfo checkChunkInfo(String filename, String md5, int chunkNumber, int totalChunks, String guid);
}
